package daybook.io.args;

import com.beust.jcommander.IStringConverter;
import daybook.io.formatter.Format;

public class FormatConverter implements IStringConverter<Format> {
    @Override
    public Format convert(String value) {
        return Format.valueOf(value.toUpperCase());
    }
}
